package edu.designPattern.Adapter;

/**
 * 美国前锋
 *
 * @Author ltb
 * @Date 2021/6/27 2:04 下午
 * @Version 1.0
 */
public class Forwards extends Player {

    public Forwards(String name) {
        super(name);
    }

    @Override
    public void Attack() {
        System.out.println("前锋[" + name + "] 进攻");
    }

    @Override
    public void Defense() {
        System.out.println("前锋[" + name + "] 防守");
    }
}
